using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Graphe.WPF
{
    /// <summary>
    /// Interaction logic for CreateNewIndexWindow.xaml
    /// </summary>

    public partial class CreateNewIndexWindow : System.Windows.Window
    {

        public CreateNewIndexWindow()
        {
            InitializeComponent();
        }

        public string IndexName
        {
            get { return _textBoxIndexName.Text; }
        }


        private void _buttonOk_Click(object sender, RoutedEventArgs e)
        {
            DialogResult = true;
        }

        private void _buttonCancel_Click(object sender, RoutedEventArgs e)
        {
            DialogResult = false;
        }

    }
}